/*
 * This file (RxSepia.java) is protected by the GNU GPL licence (v2). 
 * Please read the license.txt attached for further informations. 
 * 
 */

package alkwarel.filters;

import alkwarel.objects.RxSimpleFilter;

/**
 * Camaieu sepia
 * @author Xavier Gouchet
 *
 */
public class RxSepia extends RxSimpleFilter {

	/**
	 * Standard constructor
	 */
	public RxSepia() {
		super(1014, "sepia");
	}

	/**
	 * @see alkwarel.objects.RxSimpleFilter#FilterPixel()
	 */
	protected void FilterPixel() {
		this.H(55 - this.vval/5);
		this.S(1000 - (7*this.vval)/2);
		this.V((2*this.vval)/3);
	}

}
